//------------------------------------------------------------------------------
//  Description:  CC1100-CC2500.c function declarations
//
//  Demo Application for MSP430/CC1100-2500 Interface Code Library v1.0
//
//  K. Quiring
//  Texas Instruments, Inc.
//  July 2006
//  IAR Embedded Workbench v3.41
//------------------------------------------------------------------------------

#ifndef  __TI_CC1100_CC2500_H
#define  __TI_CC1100_CC2500_H



struct _packet
{
   unsigned char length;
   unsigned char adress;
   unsigned char header[4];   
   char          data[64];
   unsigned char RSSI;
   unsigned char LINK_Q;
};

typedef struct _packet packet;

void writeRFSettings(void);
void RFSendPacket(packet *, char);
char RFReceivePacket(packet *,unsigned char size);
void set_power_cc1101(unsigned char _power);

#endif